package com.zhongkun.datahome.service.service;

import com.zhongkun.datahome.service.domain.DecorationStandard;
import com.zhongkun.datahome.service.req.cmd.standard.DecorationStandardCmd;
import com.zhongkun.datahome.service.req.qry.standard.DecorationStandardQry;
import com.zhongkun.datahome.service.res.PageVo;
import com.zhongkun.datahome.service.res.standard.DecorationStandardDetailVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 装标Service接口
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public interface IDecorationStandardService {
    PageVo<DecorationStandard> page(DecorationStandardQry qry);

    DecorationStandardDetailVo getInfo(Long id);

    Long add(DecorationStandardCmd cmd);

    void update(DecorationStandardCmd cmd);

    void remove(List<Long> ids);

    /**
     * 从Excel文件导入装标数据
     *
     * @param standardName 装标名称
     * @param file       Excel文件
     */
    void importStandardsFromExcel(String standardName, MultipartFile file);

}
